Before the import, standard-invoices with all articles must be available. With the import, a reference to these invoices will be used. The there entered values are used for the new invoice. If a value for a field is available in the import, this value overwrites the value of the standard-invoice. So, the address can be imported individually, for example. The article-list can't be changed by the import.

The field "state" has a special meaning. If there is a "P", the invoice will be printed after the import. With "E" it will be entered, too.

The advantage of this solution is, that all import methods (not Datev).

Standard invoices should have invoice numbers outside of the usual range (e.g. 9...).
Values from the import, overwrites values in the standard-invoice.
The values for the total amount must not be given. These values come from the standard-invoice.
Offers and orders work in the same way as invoices.